﻿<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
    <meta charset="utf-8" />
    <meta name="viewport" content="width=device-width, initial-scale=1.0" />
    <title>首页</title>

    <!-- BOOTSTRAP STYLES-->
    <link href="resources/assets/css/bootstrap.css" rel="stylesheet" />
    <!-- FONTAWESOME STYLES-->
    <link href="resources/assets/css/font-awesome.css" rel="stylesheet" />
       <!--CUSTOM BASIC STYLES-->
    <link href="resources/assets/css/basic.css" rel="stylesheet" />
    <!--CUSTOM MAIN STYLES-->
    <link href="resources/assets/css/custom.css" rel="stylesheet" />
    <!-- GOOGLE FONTS-->
   
</head>
<body>
    <div id="wrapper">
        <nav class="navbar navbar-default navbar-cls-top " role="navigation" style="margin-bottom: 0">
            <div class="navbar-header">
                <button type="button" class="navbar-toggle" data-toggle="collapse" data-target=".sidebar-collapse">
                    <span class="sr-only">Toggle navigation</span>
                    <span class="icon-bar"></span>
                    <span class="icon-bar"></span>
                    <span class="icon-bar"></span>
                </button>
                <a class="navbar-brand" href="index.html">COMPANY NAME</a>
            </div>

            <div class="header-right">

                <a href="message-task.html" class="btn btn-info" title="New Message"><b>30 </b><i class="fa fa-envelope-o fa-2x"></i></a>
                <a href="message-task.html" class="btn btn-primary" title="New Task"><b>40 </b><i class="fa fa-bars fa-2x"></i></a>
                <a href="index.php?c=admin&a=logout&admin=1" class="btn btn-danger" title="Logout"><i class="fa fa-exclamation-circle fa-2x"></i></a>

            </div>
        </nav>
        <!-- /. NAV TOP  -->
        <nav class="navbar-default navbar-side" role="navigation">
            <div class="sidebar-collapse">
                <ul class="nav" id="main-menu">
                    <li>
                        <div class="user-img-div">
                            <img src="resources/assets/img/user.png" class="img-thumbnail" />

                            <div class="inner-text">
                                Jhon Deo Alex
                            <br />
                                <small>Last Login : 2 Weeks Ago </small>
                            </div>
                        </div>

                    </li>


                  




                  
                     
                   
                     <li>
                        <a href="#"><i class="fa fa-bicycle "></i>新闻组 <span class="fa arrow"></span></a>
                         <ul class="nav nav-second-level">
                           
                             <li>
                                <a href="index.php?c=news&a=add&admin=1"><i class="fa fa-desktop "></i>新闻添加</a>
                            </li>
                             <li>
                                <a href="index.php?c=news&a=list&admin=1"><i class="fa fa-code "></i>新闻列表</a>]
                            </li>
                            </ul>

                    </li>

                      <li>
                        <a href="#"><i class="fa fa-bicycle "></i>管理员组 <span class="fa arrow"></span></a>
                         <ul class="nav nav-second-level">
                           
                             <li>
                                <a href="index.php?c=admin&a=add&admin=1"><i class="fa fa-desktop "></i>管理员添加</a>
                            </li>
                             <li>
                                <a href="index.php?c=admin&a=list&admin=1"><i class="fa fa-code "></i>管理员列表</a>]
                            </li>
                            </ul>

                    </li>
                     <li>
                        <a href="#"><i class="fa fa-bicycle "></i>分类 <span class="fa arrow"></span></a>
                         <ul class="nav nav-second-level">
                          
                             <li>
                                <a href="index.php?c=cate&a=list&admin=1"><i class="fa fa-code "></i>分类列表</a>]
                            </li>
                               <li>
                                <a href="index.php?c=cate&a=add&admin=1"><i class="fa fa-code "></i>分类添加</a>]
                            </li>
                            </ul>

                    </li>
                     <li>
                        <a href="#"><i class="fa fa-bicycle "></i>权限 <span class="fa arrow"></span></a>
                         <ul class="nav nav-second-level">
                          
                             <li>
                                <a href="index.php?c=power&a=list&admin=1"><i class="fa fa-code "></i>权限列表</a>]
                            </li>
                             <li>
                                <a href="index.php?c=role&a=list&admin=1"><i class="fa fa-code "></i>角色列表</a>]
                            </li>
                            <li>
                                <a href="index.php?c=role&a=add&admin=1"><i class="fa fa-code "></i>角色添加</a>]
                            </li>
                               <li>
                                <a href="index.php?c=power&a=add&admin=1"><i class="fa fa-code "></i>权限添加</a>]
                            </li>
                            </ul>

                    </li>
                        
                   
                    
                   
                   
                   
                  
                </ul>

            </div>

        </nav>
      
                   <?php
            
                    include_once($_filename);
                   ?>



</div>

    <div id="footer-sec">
        &copy; 2014 YourCompany | More Templates <a href="http://www.cssmoban.com/" target="_blank" title="模板之家">模板之家</a> - Collect from <a href="http://www.cssmoban.com/" title="网页模板" target="_blank">网页模板</a>
    </div>
    <!-- /. FOOTER  -->
    <!-- SCRIPTS -AT THE BOTOM TO REDUCE THE LOAD TIME-->
    <!-- JQUERY SCRIPTS -->
    <script src="resources/assets/js/jquery-1.10.2.js"></script>
    <!-- BOOTSTRAP SCRIPTS -->
    <script src="resources/assets/js/bootstrap.js"></script>
    <!-- METISMENU SCRIPTS -->
    <script src="resources/assets/js/jquery.metisMenu.js"></script>
       <!-- CUSTOM SCRIPTS -->
    <script src="resources/assets/js/custom.js"></script>
    


</body>
</html>
            